package gonggong;

public class User implements java.io.Serializable
{
    private String userId;
    private String passwd;
    private String answer1;
    private String answer2;
    public User() {
    }
    public User(String userId, String passwd, String answer1, String answer2) {
        this.userId = userId;
        this.passwd = passwd;
        this.answer1 = answer1;
        this.answer2 = answer2;
    }

    public void setAnswer1(String answer1) {
        this.answer1 = answer1;
    }

    public void setAnswer2(String answer2) {
        this.answer2 = answer2;
    }

    public String getAnswer1() {
        return answer1;
    }

    public String getAnswer2() {
        return answer2;
    }

    public String getUserId() {
        return userId;
    }
    public void setUserId(String userId) {
        this.userId = userId;
    }
    public String getPasswd() {
        return passwd;
    }
    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }
}

